Place hash file in the same directory with the file that you want to verify.
Hash file format:
<checksum><two spaces><filename><end of line>
Hash file example:
32CDE0071ED8086B29BB69993BF17BA9E3CDF43200537434A811A9B6CC271999 Filename.zip
For sha256:
$ shasum -a 256 -c Filename.zip.sha256
For sha1:
$ shasum -a 1 -c Filename.zip.sha1
For sha512:
$ shasum -a 512 -c Filename.zip.sha512
For md5 (manual verify):
$ md5 Filename.zip
Iโm a US-based software engineer with a background in law. I share mostly practical tech notes here for my future self and anyone who finds them useful.
One of the things Iโve built is Masterlist: Focus & Tasks, a privacy-focused, local-storage-only task manager that offers focus tracking tied to tasks and projects, compatible with the Pomodoro technique.